package woaini.fenger.core.task.anno;

import java.lang.annotation.*;

/**
 * bot任务
 *
 * @see woaini.fenger.core.task.anno.BotTask
 * @author yefeng {@code @Date} 2023-05-16 16:50:39
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface BotTask {

  /**
   * @MethodName name
   *
   * @author yefeng {@date 2024-01-31 10:19:54}
   * @since 1.0
   * @return {@link String } 活动名字 用于当分组名
   */
  String name();

  /**
   * @MethodName description
   *
   * @author yefeng {@date 2024-01-31 10:20:16}
   * @since 1.0
   * @return {@link String } 描述
   */
  String description() default "";

  /**
   * @MethodName autoLoad
   *
   * @author yefeng {@date 2024-01-31 11:21:02}
   * @since 1.0
   * @return boolean 自动加载
   */
  boolean autoLoad() default false;
}
